import request from '@/utils/request'

// 查询网版配置列表
export function listAwarewb(query) {
  return request({
    url: '/system/awarewb/list',
    method: 'get',
    params: query
  })
}

// 查询网版配置详细
export function getAwarewb(id) {
  return request({
    url: '/system/awarewb/' + id,
    method: 'get'
  })
}

// 新增网版配置
export function addAwarewb(data) {
  return request({
    url: '/system/awarewb',
    method: 'post',
    data: data
  })
}

// 修改网版配置
export function updateAwarewb(data) {
  return request({
    url: '/system/awarewb',
    method: 'put',
    data: data
  })
}

// 删除网版配置
export function delAwarewb(id) {
  return request({
    url: '/system/awarewb/' + id,
    method: 'delete'
  })
}
